* {
    margin: 0;
    padding: 0;
}

body {
    background: #2d3039;
    background: radial-gradient(circle, #1b1e23 0%, #1b1e23 100%);
}

:root {
    --primary-color: #ececec;
    --secondary-color: #c8c8c8;
    --navbar-color: #1b1e23dc;
    --options-color: #dcdcdb;
    --container-color: #383a3fda;
    --button-p-color: #777777;
    --titulo-h2: #bcbcbc;
    --color-contacto: #2d3039;
    --caja-contacto: #1b1e23;
    --imput-color: #bdbdbd;

    --filtro-color: #404040;
}

.dark-theme {
    --primary-color: #353535;
    --secondary-color: #505050;
    --navbar-color: rgba(150, 150, 150, 0.9);
    --options-color: #e4e4e4;
    --container-color: #909090a7;
    --button-p-color: #cbcbcb;
    --titulo-h2: #505050;
    --color-contacto: #acacac;
    --caja-contacto: #cecece;
    --imput-color: #505050;
    --filtro-color: #aeaeae;
}


body.light {
    background: rgb(231, 231, 231);
    background: radial-gradient(circle, rgba(231, 231, 231, 1) 0%, rgba(195, 195, 195, 1) 100%);
}

.lightPhoto {
    filter: brightness(25%);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

.header {
    display: none;
    z-index: 100;
    width: 100%;
    /* Establecemos que el header abarque el 100% del documento */
    overflow: hidden;
    /* Eliminamos errores de float */
    background: #252932;
    margin-bottom: 20px;
}

.wrapper {
    display: flex;
    z-index: 100;

    position: fixed;
    top: 0;
    width: 100%;

    justify-content: center;
    align-items: center;
    height: 50px;

    background: linear-gradient(135deg, #1b1e23c7, #1b1e23ac);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    filter: alpha(opacity=20);
}

.wrapper .logo {
    cursor: pointer;
}

.wrapper .logo img {
    height: 35px;
    width: auto;
}

.wrapper .nav-links {
    list-style: none;
}

.wrapper .nav-links li {
    display: inline-block;
    padding: 0 20px;
}

.wrapper .nav-links li:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.wrapper .nav-links a {
    z-index: 100;

    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18;
    color: var(--options-color);
    text-decoration: none;
}



.contenido {
    margin-left: auto;
    margin-right: auto;
    width: 80%;

}

.presentacion {
    height: 90vh;
}

.presentacion h1 {
    color: var(--primary-color);

    font-size: 65px;
    font-weight: 800;
    font-family: 'Roboto Slab', sans-serif;
}

.presentacion p {
    color: var(--secondary-color);

    font-size: 30px;
    margin-top: 30px;

    font-family: 'Signika Negative', sans-serif;
}

.logo {
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.caja {
    height: 40%;
    display: flex;

    align-items: center;
}

.contenedorOpciones {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.idioma {
    margin-left: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.idioma a {
    text-align: center;
    text-decoration: none;
}

.idioma img {

    margin-right: 5px;
    height: 20px;
    width: auto;
}


.menuHome {
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menuHome .nav-links {
    list-style: none;
}

.menuHome .nav-links li {
    display: inline-block;
    padding: 0 20px;
}

.menuHome .nav-links li:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.menuHome .nav-links a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18;
    color: var(--secondary-color);
    text-decoration: none;
}


.Contacto {
    height: 30%;
    display: flex;
    justify-content: center;
}

.Contacto .nav-links {
    list-style: none;
}

.Contacto .nav-links li {
    border-radius: 10px;
    display: inline-block;
    padding: 10px;
    background: var(--container-color);
    cursor: pointer;
}

.Contacto .nav-links img {
    height: 55px;
    width: auto;
}


.projects {
    margin-top: 100px;
    height: auto;
    text-align: center;
}

.tituloSeccion {
    margin-bottom: 20px;
    width: auto;
    display: flex;
    justify-content: center;
}

.tituloSeccion h2 {

    color: var(--primary-color);

    font-size: 38px;
    font-weight: bolder;
    font-family: 'Roboto Slab', sans-serif;

    margin-bottom: 10px;


}

.subrayado {
    position: absolute;
    z-index: 99;

    margin-top: 55px;
    background: var(--primary-color);
    width: 130px;
    height: 3px;
}


.projects p {
    color: var(--secondary-color);

    text-align: center;
    margin-top: 30px;
    font-size: 28px;
    font-family: 'Roboto Condensed', sans-serif;
}

.conProjects {

    min-height: auto;

    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
}

.contenedorProyectos {

    height: auto;
    width: 45%;
    min-width: 300px;
    padding: 30px;
    background: #252932;

    height: 90vh;


}

.scroll {
    height: 600px;
    overflow-x: hidden;
    overflow-y: scroll;

}

.cardMobile {
    width: 380px;
    height: auto;
    box-shadow:
        inset 0 -3em 3em rgba(0, 0, 0, 0.1),
        0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
    margin: auto;
    margin: 5px;
}

.cardWeb {
    width: 380px;
    height: auto;
    box-shadow:
        inset 0 -3em 3em rgba(0, 0, 0, 0.1),
        0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
    margin: auto;
    margin: 5px;
}

input[type="radio"] {
    display: none;
}

.projects label {

    margin: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 26px;
    padding-top: 8px;
    padding-bottom: 8px;

    padding-left: 20px;
    padding-right: 20px;

    color: var(--secondary-color);


}

#r_todo:checked~#lb_todo {
    background: var(--filtro-color);
}


#r_mobile:checked~#lista .cardWeb {
    display: none;
}

#r_mobile:checked~#lb_mobile {
    background: var(--filtro-color);
}


#r_web:checked~#lista .cardMobile {
    display: none;
}

#r_web:checked~#lb_web {
    background: var(--filtro-color);
}

#r_web:checked~#lb_web {
    background: var(--filtro-color);
}



.mobile {
    display: flex;
    flex-wrap: wrap;
}

.web {
    display: flex;
    flex-wrap: wrap;
}



.bodycard img {

    width: 380px;
    height: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}

.bodycard {
    position: relative;
    display: inline-block;
    text-align: center;

}

.bodycard:hover .infoCard {
    display: inline;
}

.infoCard {
    display: none;

    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);

    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

    background: linear-gradient(135deg, rgba(44, 44, 44, 0.795), rgba(25, 25, 25, 0.723));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}

.infoCard p {
    color: #e5e5e5;
    font-size: 20px;
    text-align: left;

    padding: 0px 20px 30px 30px;
}

.nombreHerramienta {

    margin-top: 14px;
    color: #e5e5e5;

    font-size: 20px;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;

}

.infoCard img {
    height: 50px;
    width: auto;
}



.footercard {
    height: 70px;
    background: #383A3F;
    color: var(--primary-color);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


.footercard h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22;
    color: #e3e3e3;

    margin-bottom: 13px;

}

.footercard a {

    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18;
    color: rgb(166, 166, 166);
    text-decoration: none;
    text-align: center;
    width: 100%;

    border-width: 2px;
    border-style: solid;
    border-color: rgb(166, 166, 166);

    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;

}


.footercard a:hover {
    background: rgb(166, 166, 166);
    color: #201F23;
}

.about {
    margin-top: 100px;

}

.about h2 {
    color: var(--primary-color);

    text-align: center;

    font-size: 38px;
    font-weight: bolder;
    font-family: 'Roboto Slab', sans-serif;
}

.containerTecnologia {
    margin-top: 30px;
}

.containerTecnologia h3 {
    color: var(--secondary-color);

    text-align: center;

    font-size: 28px;
    font-weight: bolder;
    font-family: 'Roboto Condensed', sans-serif;

}

.containerSobre {
    margin-top: 40px;
}

.containerSobre h3 {
    color: var(--secondary-color);

    text-align: center;

    font-size: 28px;
    font-weight: bolder;
    font-family: 'Roboto Condensed', sans-serif;

}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.container h3 {
    text-align: center;
}

.tecnologias {
    width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tecnologia {
    border-radius: 4px;

    margin: 5px;
    background: var(--container-color);
    width: 185px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.tecnologia img {
    width: auto;
    height: 50px;
    position: absolute;
    padding-top: 13px;
}

.tecnologia:hover img {
    transform: scale(1.1);
}

.tecnologia p {
    padding-top: 58px;
    position: relative;
    font-family: 'Roboto Slab', sans-serif;
    color: var(--primary-color);
    font-size: 16px;

}

.sobremi {

    width: 650px;
    padding-left: 30px;
    padding-right: 30px;
    height: auto;


    display: flex;
    flex-wrap: wrap;

    
    align-content: center;

    background: var(--color-contacto);

    margin: 10px;
    border-radius: 5px;

}

.infoPais{
    width: 100%;
    text-align: left;
}

.infoPais h2{
    text-align: left;
    font-size: 20px;
    margin: 5px;
}


.sobremi h5 {
    font-size: 40px;
    font-family: 'Roboto Slab', sans-serif;
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 10px;
}


.sobremi p {

    font-size: 16px;
    font-family: 'Roboto Slab', sans-serif;
    color: var(--primary-color);
    text-align: justify;
    margin: 10px;

}

.containerSobre h3{
margin-top: 20px;
}

.perfil {
    height: 400px;
    margin: 10px;
}

.perfil img {
    height: 350px;
    width: auto;
    border-radius: 5px;
}

.buttonCV {
    display: flex;
    justify-content: center;
}

.buttonCV button {
    width: 90%;
    height: 30px;
    border-radius: 20px;
    background: none;
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--button-p-color);
    font-family: 'Roboto Slab', sans-serif;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    
}

.sobremi h3 {
    margin-top: 30px;
    color: var(--primary-color);

    text-align: left;

    font-size: 28px;
    font-weight: bolder;
    font-family: 'Roboto Condensed', sans-serif;

}


.contact {
    height: auto;
    width: 100%;
    margin-top: 100px;

    padding-top: 30px;
    padding-bottom: 60px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--color-contacto);


    /*background: #969696;*/
}

.contact h2 {
    color: var(--primary-color);

    text-align: left;

    font-size: 38px;
    font-weight: bolder;
    font-family: 'Roboto Slab', sans-serif;
}

.contact h3 {
    color: var(--titulo-h2);

    text-align: left;

    margin-top: 20px;
    margin-left: 10px;

    font-size: 28px;
    font-weight: bolder;
    font-family: 'Roboto Condensed', sans-serif;

}

.infoContacto {
    width: 650px;
    display: flex;
    align-items: center;
}

.contenidoContacto {
    width: auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;

}

.tarjetaContacto {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.tarjeta {
    margin: 10px;

    height: 160px;
    width: 160px;

    border-radius: 10px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    cursor: pointer;

    background-color: var(--caja-contacto);
}

.tarjeta img {
    width: auto;
    height: 70px;
    position: absolute;
    padding-top: 25px;
    filter: grayscale(100%);
    filter: invert(0.5);
}

.tarjeta:hover img {
    transform: scale(1.05);
    filter: invert(0.4);
    transition: 0.2s ease;
}

.tarjeta p {
    padding-top: 90px;
    position: relative;
    font-family: 'Roboto Slab', sans-serif;
    color: var(--primary-color);
    font-size: 16px;

}


.contact_form {
    width: 460px;
    height: min-content;

    margin-top: 80px;
    margin-right: 30px;

    border-radius: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
    background-color: var(--caja-contacto);
    padding-left: 30px;
}

.contact_form input {
    background-color: #ffffff00;
    width: 100%;
    height: 40px;
    border-style: solid;

    border-top: none;
    border-left: none;
    border-right: none;

    border-width: 2px;
    color: var(--imput-color);
    border-color: var(--imput-color);
    margin-top: 10px;
    padding-left: 10px;


    margin-bottom: 20px;
}

.contact_form textarea {
    background-color: #fbfbfb00;
    width: 100%;
    height: 70px;

    border-style: solid;

    border-top: none;
    border-left: none;
    border-right: none;

    border-width: 2px;
    color: var(--imput-color);
    border-color: var(--imput-color);
    ;

    margin-top: 10px;
    padding-left: 10px;


    margin-bottom: 20px;
    padding-top: 15px;
}

.contact_form button {
    height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 20px;
    margin-top: 10px;
    text-transform: uppercase;
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    border-style: solid;
    border-radius: 10px;
    width: 420px;
    cursor: pointer;
}


.contact_form p {

    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'Roboto Condensed', sans-serif;

}


.contact_form button p {
    color: var(--button-p-color);
    font-weight: 500;
}

.formulario {
    margin-right: 30px;

}

.formulario input:focus {
    outline: 0;
    border: 1px solid var(--imput-color);
}


.formulario textarea:focus {
    outline: 0;
    border: 1px solid var(--imput-color);
}

footer {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    width: 80%;
}

footer hr {
    color: var(--primary-color)
}

footer p {
    margin-top: 10px;
    color: var(--primary-color);
}


/* Respovise */

@media only screen and (max-width: 600px) {
    .logo img {
        height: 28px;
        width: auto;
    }

    .contenedorOpciones {
        width: 60%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .contenedorOpciones button{

        margin-left: 30px;
    }

    .idioma a {
        font-size: 14px;
    }
    
    .idioma img {
    
        height: 18px;
        width: auto;
    }

    .menuHome .nav-links a {

        font-size: 12;

    }
  
    .presentacion h1 {

        font-size: 44px;
    }

    .cardMobile {
        width: 280px;
        height: auto;

    }
    
    .cardWeb {
        width: 280px;
        height: auto;

    }

    .bodycard img {

        width: 280px;
        height: auto;

    
    }

    .projects label {
        font-size: 13px;
    }


    .tecnologia {

        width: 125px;
        height: 80px;

    }
    
    .tecnologia img {
        width: auto;
        height: 35px;

    }

    .tecnologia p {
        font-size: 12px;
    }


    .contact_form {
        width: 100%;
        height: min-content;
    
    }
    
    .contact_form input {

        width: 100%;
        height: 40px;
        
    }
    
    .contact_form textarea {

        width: 100%;
        height: 70px;
 
    }
    
    .contact_form button {
        height: 45px;
        width: 100%;
    }
    
    
    .contact_form p {
    
        font-size: 14px;

    }


    .infoCard p {
        color: #e5e5e5;
        font-size: 14px;
        text-align: left;
    
        padding: 0px 20px 30px 30px;
    }
    
    .infoCard img {
        height: 30px;
        width: auto;
    }


    .sobremi p {
        font-size: 12px;
    }

    /* menu */

    .wrapper .logo{
        display: none;
    }

    
    .wrapper .nav-links a {

        font-size: 12;

    }
  
  }